package com.guo.rabbitmq.constant;

public enum QueueEnum {


    NORMAL("exchange.normal.video",
            "queue.normal.video",
            "routing.key.normal.video"),
    DEAD("exchange.dead.letter.video",
            "queue.dead.letter.video",
            "routing.key.dead.letter.video"),
    SIMPLE("","simple.queue",""),
    FANOUT("hmall.fanout.exchange","","");


    String exchange;
    String queue;
    String routingKey;

    QueueEnum(String exchange, String queue, String routingKey) {
        this.exchange = exchange;
        this.queue = queue;
        this.routingKey = routingKey;
    }

    public String getExchange() {
        return exchange;
    }

    public String getQueue() {
        return queue;
    }

    public String getRoutingKey() {
        return routingKey;
    }
}
